<template>
  <div>
    <h1>App 根组件</h1>
    <hr />
    <MyCmp>
      <template v-slot:header>
        <h1>标题</h1>
      </template>

      <template v-slot:default>
        <p>西北望,射天狼</p>
      </template>

      <template v-slot:floot>
        <h3>尾部</h3>
      </template>
    </MyCmp>
  </div>
</template>

<script>
import MyCmp from "./component.vue";
export default {
  name: "MyApp",
  components: {
    MyCmp,
  },
};
</script>

<style>
</style>